package com.qixiucoding.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author longhj
 * @Description TODO
 * @Date 2021/10/04 星期一 23:19
 */
@Data
@Component
@ConfigurationProperties(prefix = "person")
public class Person {
    private String name;
    private Character gender;
    private Integer age;
    private boolean boss;
    private Date birth;
    private Map<String,Object> maps;
    private Map<String,Friend> friendMap;
    private String regex;
    private List<Pet> lists;
}
